package com.ruoyi.conifg;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

@Component(value = "appConfig")
public class AppConfig {
    @Value("${appId:}")
    public String AppId = "";
    @Value("${secret:}")
    public String Secret = "";

    @Value("${hostPorts:}")
    public String HostPorts = "";

    @Value("${isSandBox:}")
    public String IsSandBox = "0";

    public static final String AppIdName     = "appId";
    public static final String SecretName    = "secret";
    public static final String HostPortsName = "hostPorts";
    public static final String IsSandBoxName = "isSandBox";


}
